
namespace Impact.Infrastructure.Membership
{
    /// <summary>
    /// interface for services that provide membership functionality, such as the
    /// ASP.NET Membership Provider 
    /// </summary>
    [StructureMap.PluginFamily("AspNetMembershipService")]
    public interface IMembershipService
    {

        /// <summary>
        /// Creates a new user with the given properties
        /// </summary>
        /// <returns>true if creation was successful</returns>
        bool CreateUser(string username, string password, string email);

    }
}
